package kr.salebeans.cm.domain.shop;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "SH_SHOP")
public class Shop implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 8429045986330613672L;

	@Id
	@Column(name = "ID", length=6)
	private String id;

	@Column(name = "SHOP_NM", nullable=false)
	private String name;

	@Column(name = "LOGIN_ID")
	private String loginId;

	@Column(name = "PASSWD")
	private String password;

	@Embedded
	private ShopSettings settings;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getLoginId() {
		return loginId;
	}

	public void setLoginId(String loginId) {
		this.loginId = loginId;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public ShopSettings getSettings() {
		return settings;
	}

	public void setSettings(ShopSettings settings) {
		this.settings = settings;
	}

}
